import type { StudentLeaveItem, StudentLeaveParams } from '@/types/studentLeave'
import type { PageResult } from '@/types/global'
import { http } from '@/utils/http'

/**
 * 提交请假
 * @param params
 * @returns
 */
export const submitLeaveAPI = (params: StudentLeaveItem) => {
  return http({
    method: 'POST',
    url: '/wechat/student/leave/save',
    data: params,
  })
}
